/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mercury.Entity.SystemModels;

namespace Mercury.Entity.DomainModels
{
    [Entity(TableCnName = "计划单",TableName = "OrderForm")]
    public partial class OrderForm:BaseEntity
    {
        /// <summary>
       ///主键
       /// </summary>
       [Key]
       [Display(Name ="主键")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string Id { get; set; }

       /// <summary>
       ///订单编号
       /// </summary>
       [Display(Name ="订单编号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string OrderNumber { get; set; }

       /// <summary>
       ///钢种
       /// </summary>
       [Display(Name ="钢种")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string SteelGrade { get; set; }

       /// <summary>
       ///锭形
       /// </summary>
       [Display(Name ="锭形")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string IngotShape { get; set; }

       /// <summary>
       ///需求重量
       /// </summary>
       [Display(Name ="需求重量")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string RequiredWeight { get; set; }

       /// <summary>
       ///订单获取时间
       /// </summary>
       [Display(Name ="订单获取时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? AcquisitionTime { get; set; }

       /// <summary>
       ///计划炉号
       /// </summary>
       [Display(Name ="计划炉号")]
       [MaxLength(500)]
       [Column(TypeName="nvarchar(500)")]
       [Editable(true)]
       public string PlannedHeatNumber { get; set; }

       /// <summary>
       ///实际炉号
       /// </summary>
       [Display(Name ="实际炉号")]
       [MaxLength(500)]
       [Column(TypeName="nvarchar(500)")]
       [Editable(true)]
       public string ActualHeatNumber { get; set; }

       /// <summary>
       ///实际已生产重量
       /// </summary>
       [Display(Name ="实际已生产重量")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string ActualProducedWeight { get; set; }

       /// <summary>
       ///已生产炉次
       /// </summary>
       [Display(Name ="已生产炉次")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? ProductionFrequency { get; set; }

       /// <summary>
       ///优先级
       /// </summary>
       [Display(Name ="优先级")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Priority { get; set; }

       /// <summary>
       ///订单状态
       /// </summary>
       [Display(Name ="订单状态")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Status { get; set; }

       /// <summary>
       ///回复ERP状态
       /// </summary>
       [Display(Name ="回复ERP状态")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? ToMes { get; set; }

       /// <summary>
       ///回复ERP时间
       /// </summary>
       [Display(Name ="回复ERP时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ToMesTime { get; set; }

       /// <summary>
       ///炉号分配人ID
       /// </summary>
       [Display(Name ="炉号分配人ID")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string AllocationUserId { get; set; }

       /// <summary>
       ///炉号分配人
       /// </summary>
       [Display(Name ="炉号分配人")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string AllocationUserName { get; set; }

       /// <summary>
       ///炉号分配时间
       /// </summary>
       [Display(Name ="炉号分配时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? AllocationUserTime { get; set; }

       /// <summary>
       ///修改人
       /// </summary>
       [Display(Name ="修改人")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string ModifyUserName { get; set; }

       /// <summary>
       ///修改人ID
       /// </summary>
       [Display(Name ="修改人ID")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string ModifyUserId { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ModifyDate { get; set; }

       /// <summary>
       ///删除标识
       /// </summary>
       [Display(Name ="删除标识")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? DeletionFlag { get; set; }

       
    }
}